package com.mbc.rmt.dao;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;

import com.mbc.rmt.data.CashPaidToIndividualDataList;
import com.mbc.rmt.entities.CashPaidToIndividual;
import com.mbc.rmt.entities.CashPaidToIndividualCri;
import com.mbc.rmt.entities.CashPaidToIndividualRpt;


public interface CashPaidToIndividualDAO {
	
	   public void create(CashPaidToIndividual entity) throws SQLException;
	   public void update(CashPaidToIndividual entity) throws SQLException;
	   public void delete(CashPaidToIndividual entity) throws SQLException;
	   public CashPaidToIndividual find(long key)throws SQLException;
	   public CashPaidToIndividual getCashPaidToIndividual(CashPaidToIndividual entity) throws SQLException;
	   public CashPaidToIndividualDataList findCashPaidToIndividualList(CashPaidToIndividual cri)
				throws SQLException;
	   public CashPaidToIndividualDataList findCashPaidToIndividualSearchlist(CashPaidToIndividualCri cri) throws SQLException;
	   public CashPaidToIndividualDataList findCashPaidToIndividualSearchlist(CashPaidToIndividual cri) throws SQLException;
	   public ArrayList<CashPaidToIndividual> getCashPaidToIndividualSearchlist(CashPaidToIndividual entity) throws SQLException;
	   ResultSet prepareCashPaidToIndividualReport(CashPaidToIndividualRpt info)throws SQLException;
	   
	   public CashPaidToIndividual findpaidamt(long key) throws SQLException;
	   
	   public CashPaidToIndividual findpaidamtfrombranch(long key,CashPaidToIndividual info) throws SQLException;
	   
	   public void updateCashPaid(CashPaidToIndividual info) throws SQLException;
	   
	   public void UpdateCashPaidfromBranch(CashPaidToIndividual info) throws SQLException;

}
